package com.rmy.queue.mapper;

import java.util.List;
import com.rmy.queue.domain.QmsWindowVoic;

/**
 * 窗口和语音模块关联Mapper接口
 * 
 * @author rmy
 * @date 2022-10-12
 */
public interface QmsWindowVoicMapper 
{
    /**
     * 查询窗口和语音模块关联
     * 
     * @param windowId 窗口和语音模块关联主键
     * @return 窗口和语音模块关联
     */
    public QmsWindowVoic selectQmsWindowVoicByWindowId(Long windowId);

    /**
     * 查询窗口和语音模块关联列表
     * 
     * @param qmsWindowVoic 窗口和语音模块关联
     * @return 窗口和语音模块关联集合
     */
    public List<QmsWindowVoic> selectQmsWindowVoicList(QmsWindowVoic qmsWindowVoic);

    /**
     * 新增窗口和语音模块关联
     * 
     * @param qmsWindowVoic 窗口和语音模块关联
     * @return 结果
     */
    public int insertQmsWindowVoic(QmsWindowVoic qmsWindowVoic);

    /**
     * 修改窗口和语音模块关联
     * 
     * @param qmsWindowVoic 窗口和语音模块关联
     * @return 结果
     */
    public int updateQmsWindowVoic(QmsWindowVoic qmsWindowVoic);

    /**
     * 删除窗口和语音模块关联
     * 
     * @param windowId 窗口和语音模块关联主键
     * @return 结果
     */
    public int deleteQmsWindowVoicByWindowId(Long windowId);

    /**
     * 批量删除窗口和语音模块关联
     * 
     * @param windowIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteQmsWindowVoicByWindowIds(Long[] windowIds);
}
